package com.nefu.softlab.xjwc.utils;

import java.util.UUID;

/**
 * @author : Ar1es
 * @date : 2020/1/12
 * @since : Java 8
 */
public class GetRandom  {
    public static String getUUID() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static String getCaptcha() {
        String str ="";
        for (int i = 0; i < 6; i++) {
            str += Math.round(Math.random() * 9);
        }
        return str;
    }


}
